package persistence;

import java.util.Map;
import model.Venta;

public interface VentaDAO {

    public boolean newVenta (Venta product);

    public boolean deleteVenta(String name);

    public Venta readVenta(String name);

    public boolean updateVenta(String name, Venta product);

    public boolean setUp(String url, String driver, String user, String password);

    public boolean disconnect();

    public Map<String, Venta> getVentaMap();
}
